<ul>
<?php if (!empty($cities)): ?>
	<?php foreach($cities as $city): ?>
	<li id="cityid_<?php echo $city['City']['id']; ?>"><?php echo '<strong>' . $city['City']['name'] . '<p style="display:none">,</p></strong><br /><p class="auto_complete_indented">&nbsp;'; if(strlen($city['Region']['name'])) { echo $city['Region']['name'] . ', '; } echo $city['Country']['name']; ?></p></li>
	<?php endforeach; ?>

<?php endif; ?>

<?php if(!empty($users)): ?>

	<?php foreach($users as $user): ?>
	<li id ="profileid_<?php echo $user['Profile']['id'];?>" class="user">
	<div style="width:100px; overflow: none;"><?php echo $html->image('/images/thumb/' . $user['Profile']['Image']['id'] . '/?h=40', array('class' => 'leftalign'));?></div>
	<div>&nbsp;<strong><?php echo $user['User']['username']; ?></strong> of <?php echo $user['Profile']['City']['name']; ?> </div>
	</li>
	<?php endforeach; ?>
<?php endif; ?>
</ul>
